﻿using PSDClient.Models;
using PSDClient.Service;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PSDClient
{
    public partial class FrmRegist : Form
    {
        public dl_download_device DeviceInfo { get; set; }
        public FrmRegist()
        {
            InitializeComponent();
        }

        private void btnAccept_Click(object sender, EventArgs e)
        {

        }

        private void btnCancel_Click(object sender, EventArgs e)
        {

        }

        private void FrmRegist_Load(object sender, EventArgs e)
        {
            string ip = DeviceHelper.DeviceInfo.device_ip;
            this.lblDeviceIP.Text = ip;
            this.lblDeviceName.Text = "下载设备_" + ip;

            lvwStorage.Items.Clear();

            foreach (var device in DeviceHelper.HardDiskList)
            {
                
            }
        }
    }
}
